

import request from '@/router/axios'

const prefix = '/rca/swckdataauditaccinvest'

export function fetchList(query) {
  return request({
    url: prefix+'/list',
    method: 'get',
    params: query
  })
}
export function generateDifferenceReport(obj) {
  return request({
    url: prefix+'/generateDifferenceReport',
    method: 'get',
    params: obj
  })
}
/**
 * 导入
 * @param body
 */
export function importAccInvest(body) {
  return request({
    url: prefix+'/importAccInvest',
    headers: { "Content-Type": "multipart/form-data" },
    method: "post",
    data: body
  });
}
export function dataExport(query) {
  return request({
    url: prefix+'/export',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}
